<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.mymail.myutil.*"%>
<jsp:useBean id="user" class="com.mymail.entity.User" scope="session" />
<%
	String str = request.getParameter("str");
	String action = request.getParameter("action");
	if ("1".equals(action)) {
		DeleteMail.delete1(str, user);
	} else {
		DeleteMail.delete2(str, user);
	}
%>
<jsp:forward page="listmail.jsp">
	<jsp:param value="a" name="foldername" />
	<jsp:param value="<%=user.getCurrentpage() %>" name="page" />
</jsp:forward>